package com.ruike.service;

import com.ruike.pojo.AcademicBuilding;
import com.ruike.pojo.Classroom;
import com.ruike.pojo.Clazzes;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 吴泽胜
 * @FileName ClassroomService
 * @date 2021-01-25 11:48 下午
 * @Software: IntelliJ IDEA
 */

public interface ClassroomService {

    // 获取 Classroom 列表
    public List<Classroom> getClassroomList() throws Exception;

    // 通过id修改状态
    public void updataStateById(Classroom classroom) throws Exception;

    // 通过id查找
    public Classroom findClassroomById(Integer id) throws Exception;

    // 通过id删除
    public void deleteClassroomById(Integer id) throws Exception;

    // 通过id修改状态
    public void updateClassroomById(Classroom classroom) throws Exception;

    //添加 Classroom
    public void addClassroom(Classroom classroom) throws Exception;

    // 获取 AcademicBuilding 列表
    public List<Classroom> getAcademicBuildingListByPageHelper(Integer page, Integer pageSize) throws Exception;

    // 模糊搜索 Classroom 列表
    public List<Classroom> fuzzyClassroomList(@Param(value="searchParam") String searchParam) throws Exception;

    // 根据 academic_building_ID 与 HelperPage 获取列表
    public List<Classroom> fuzzyAndAB_IDClassroomList(
                @Param(value="searchParam") String searchParam,
                @Param(value="academic_building_ID") String academic_building_ID,
                Integer page,
                Integer pageSize) throws Exception;

}
